{% extends "admin/admin_base.html" %}
{% load i18n %}
{% block navItem %}adminNavBase.adminContentNav{% endblock %}
{% block title %}
{% trans "Shop" %}
{% endblock %}

{% block content %}
<H3>{%  trans "Create content" %}</h3>
{% if form.errors %}
    <p style="color: red;">
         Please correct the error{{ form.errors|pluralize }} below.
    </p>
{% endif %}

<form action="/admin/webcontent/save_content" method="POST">
    <input type="hidden" name="content_id" value="{{ content_id }}">
    <table>
        {{ form.as_table }}
    </table>
    <input type="SUBMIT" value="{% trans "Save" %}"/>
    <a href="/admin/webcontent">{% trans "Cancel" %}</a>
</form>
{% endblock %}